﻿<UserControl x:Class="Siderys.Blog.Search.UI.WPF.ResultItem"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Height="20" Width="Auto" Background="{x:Null}">
	<UserControl.Resources>
		<Storyboard x:Key="OnMouseEnter1">
			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="rectangle" Storyboard.TargetProperty="(UIElement.Opacity)">
				<SplineDoubleKeyFrame KeyTime="00:00:00" Value="1"/>
			</DoubleAnimationUsingKeyFrames>
		</Storyboard>
		<Storyboard x:Key="OnMouseLeave1">
			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="rectangle" Storyboard.TargetProperty="(UIElement.Opacity)">
				<SplineDoubleKeyFrame KeyTime="00:00:00" Value="0"/>
			</DoubleAnimationUsingKeyFrames>
		</Storyboard>
		<Storyboard x:Key="StoryShow" Completed="Storyboard_Completed">
			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="grid" Storyboard.TargetProperty="(UIElement.Opacity)">
				<SplineDoubleKeyFrame KeyTime="00:00:00.0300000" Value="1"/>
			</DoubleAnimationUsingKeyFrames>
		</Storyboard>
	</UserControl.Resources>
	<UserControl.Triggers>
		<EventTrigger RoutedEvent="Mouse.MouseEnter" SourceName="grid">
			<BeginStoryboard Storyboard="{StaticResource OnMouseEnter1}" x:Name="OnMouseEnter1_BeginStoryboard"/>
		</EventTrigger>
		<EventTrigger RoutedEvent="Mouse.MouseLeave" SourceName="grid">
			<BeginStoryboard Storyboard="{StaticResource OnMouseLeave1}" x:Name="OnMouseEnter1_BeginStoryboard1"/>
		</EventTrigger>
	</UserControl.Triggers>
    <Grid x:Name="grid" Background="{x:Null}" Opacity="0">
    	<Grid.ColumnDefinitions>
    		<ColumnDefinition Width="0.3*"/>
    		<ColumnDefinition Width="0.7*"/>
    	</Grid.ColumnDefinitions>
        <Rectangle Grid.ColumnSpan="2" Fill="#FF2B2C67" Stroke="#FF000000" Margin="0,0,0,0" Opacity="0" x:Name="rectangle" RadiusX="3" RadiusY="3" StrokeThickness="0"/>
        <TextBlock HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Text="TextBlock" TextWrapping="Wrap" x:Name="txtTitle" Foreground="#FFFFFFFF" Margin="5,0,0,0"/>
        <TextBlock Grid.Column="1" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" TextWrapping="Wrap">
            <Hyperlink RequestNavigate="HandleRequestNavigate" NavigateUri="http://www.google.com" x:Name="lnk" Foreground="White">
                <InlineUIContainer>
            		<TextBlock x:Name="txtLink" Text="http://www.google.com" />
            	</InlineUIContainer>
            </Hyperlink>
        </TextBlock>
        
    </Grid>
</UserControl>
